<h1>Editing attribute</h1>

<%= error_messages_for :attribute %>

<% form_for(@attribute) do |f| %>
    <%= render :partial => "form", :locals => {:f => f} %>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @attribute %> |
<%= link_to 'Back', attributes_path %>
